package context.event;

import java.util.Observable;

/**
 * Created by Stimd
 * 项目地址：https://gitee.com/stimd/spring-wheel
 * 公众号：Java编程探微
 */
public class NewsObservable extends Observable {

    public void delivery(){
        setChanged();
        notifyObservers("报纸");
    }
}
